﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic">
	<!-- Resource dictionary entries should be defined here. -->
	<Style x:Key="ButtonFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Border>
						<Rectangle SnapsToDevicePixels="true" Margin="4" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="BotoesSetup" TargetType="{x:Type Button}">
		<Setter Property="Foreground" Value="#FFFFFF"/>
		<Setter Property="BorderThickness" Value="3"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="0,0,1,1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
						<Grid Height="22.88" Width="66.214" HorizontalAlignment="Center">
						<Rectangle Stroke="#FF666666" RadiusX="10" RadiusY="10" SnapsToDevicePixels="true" x:Name="ContentContainer" Margin="0.824,2.106,0.824,2.117">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FF646464" Offset="0"/>
									<GradientStop Color="#FF404040" Offset="1"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Label Content="{TemplateBinding Content}" Margin="8,-1,8,1" HorizontalContentAlignment="Center" Foreground="#FFFFFFFF" VerticalContentAlignment="Center"/>
						<Rectangle Stroke="#FF666666" RadiusX="12" RadiusY="12" SnapsToDevicePixels="true" x:Name="ContentContainer_Copy" Margin="-1.175,0.002,-1.094,0" Fill="{x:Null}"/>
						</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsPressed" Value="true">
							<Setter Property="Fill" TargetName="ContentContainer" Value="#41894e"/>
						</Trigger>
						<Trigger Property="ToggleButton.IsChecked" Value="true">
							<Setter Property="Fill" TargetName="ContentContainer" Value="#41894e"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="#FFFFFF"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>